#include "WorldWidget.h"

WorldWidget::WorldWidget(QWidget *parent): QWidget(parent)
{
}

WorldWidget::~WorldWidget()
{
}

ShapeManagerWidget* WorldWidget::GetShapeManagerWidget()
{
	return (ShapeManagerWidget*)GetShapeManager();
}

TextureManagerWidget* WorldWidget::GetTextureManagerWidget()
{
	return (TextureManagerWidget*)GetTextureManager();
}

ShapeManager* WorldWidget::NewShapeManager()
{
	return new ShapeManagerWidget(this);
}

TextureManager* WorldWidget::NewTextureManager()
{
	return new TextureManagerWidget(this);
}

Camera* WorldWidget::NewCamera()
{
	return new CameraWidget(this);
}

Map* WorldWidget::NewMap()
{
	return new MapWidget(this);
}
